package com.base.po.br;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class BrowseRecordsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BrowseRecordsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBrIdIsNull() {
            addCriterion("br_id is null");
            return (Criteria) this;
        }

        public Criteria andBrIdIsNotNull() {
            addCriterion("br_id is not null");
            return (Criteria) this;
        }

        public Criteria andBrIdEqualTo(String value) {
            addCriterion("br_id =", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdNotEqualTo(String value) {
            addCriterion("br_id <>", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdGreaterThan(String value) {
            addCriterion("br_id >", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdGreaterThanOrEqualTo(String value) {
            addCriterion("br_id >=", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdLessThan(String value) {
            addCriterion("br_id <", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdLessThanOrEqualTo(String value) {
            addCriterion("br_id <=", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdLike(String value) {
            addCriterion("br_id like", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdNotLike(String value) {
            addCriterion("br_id not like", value, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdIn(List<String> values) {
            addCriterion("br_id in", values, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdNotIn(List<String> values) {
            addCriterion("br_id not in", values, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdBetween(String value1, String value2) {
            addCriterion("br_id between", value1, value2, "brId");
            return (Criteria) this;
        }

        public Criteria andBrIdNotBetween(String value1, String value2) {
            addCriterion("br_id not between", value1, value2, "brId");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(String value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(String value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(String value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(String value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(String value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(String value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLike(String value) {
            addCriterion("u_id like", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotLike(String value) {
            addCriterion("u_id not like", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<String> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<String> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(String value1, String value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(String value1, String value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andComIdIsNull() {
            addCriterion("com_id is null");
            return (Criteria) this;
        }

        public Criteria andComIdIsNotNull() {
            addCriterion("com_id is not null");
            return (Criteria) this;
        }

        public Criteria andComIdEqualTo(String value) {
            addCriterion("com_id =", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdNotEqualTo(String value) {
            addCriterion("com_id <>", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdGreaterThan(String value) {
            addCriterion("com_id >", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdGreaterThanOrEqualTo(String value) {
            addCriterion("com_id >=", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdLessThan(String value) {
            addCriterion("com_id <", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdLessThanOrEqualTo(String value) {
            addCriterion("com_id <=", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdLike(String value) {
            addCriterion("com_id like", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdNotLike(String value) {
            addCriterion("com_id not like", value, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdIn(List<String> values) {
            addCriterion("com_id in", values, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdNotIn(List<String> values) {
            addCriterion("com_id not in", values, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdBetween(String value1, String value2) {
            addCriterion("com_id between", value1, value2, "comId");
            return (Criteria) this;
        }

        public Criteria andComIdNotBetween(String value1, String value2) {
            addCriterion("com_id not between", value1, value2, "comId");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(String value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(String value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(String value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(String value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(String value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLike(String value) {
            addCriterion("parent_id like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotLike(String value) {
            addCriterion("parent_id not like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<String> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<String> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(String value1, String value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(String value1, String value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andApiProIsNull() {
            addCriterion("api_pro is null");
            return (Criteria) this;
        }

        public Criteria andApiProIsNotNull() {
            addCriterion("api_pro is not null");
            return (Criteria) this;
        }

        public Criteria andApiProEqualTo(Integer value) {
            addCriterion("api_pro =", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProNotEqualTo(Integer value) {
            addCriterion("api_pro <>", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProGreaterThan(Integer value) {
            addCriterion("api_pro >", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProGreaterThanOrEqualTo(Integer value) {
            addCriterion("api_pro >=", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProLessThan(Integer value) {
            addCriterion("api_pro <", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProLessThanOrEqualTo(Integer value) {
            addCriterion("api_pro <=", value, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProIn(List<Integer> values) {
            addCriterion("api_pro in", values, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProNotIn(List<Integer> values) {
            addCriterion("api_pro not in", values, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProBetween(Integer value1, Integer value2) {
            addCriterion("api_pro between", value1, value2, "apiPro");
            return (Criteria) this;
        }

        public Criteria andApiProNotBetween(Integer value1, Integer value2) {
            addCriterion("api_pro not between", value1, value2, "apiPro");
            return (Criteria) this;
        }

        public Criteria andBrDateIsNull() {
            addCriterion("br_date is null");
            return (Criteria) this;
        }

        public Criteria andBrDateIsNotNull() {
            addCriterion("br_date is not null");
            return (Criteria) this;
        }

        public Criteria andBrDateEqualTo(String value) {
            addCriterion("br_date =", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateNotEqualTo(String value) {
            addCriterion("br_date <>", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateGreaterThan(String value) {
            addCriterion("br_date >", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateGreaterThanOrEqualTo(String value) {
            addCriterion("br_date >=", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateLessThan(String value) {
            addCriterion("br_date <", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateLessThanOrEqualTo(String value) {
            addCriterion("br_date <=", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateLike(String value) {
            addCriterion("br_date like", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateNotLike(String value) {
            addCriterion("br_date not like", value, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateIn(List<String> values) {
            addCriterion("br_date in", values, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateNotIn(List<String> values) {
            addCriterion("br_date not in", values, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateBetween(String value1, String value2) {
            addCriterion("br_date between", value1, value2, "brDate");
            return (Criteria) this;
        }

        public Criteria andBrDateNotBetween(String value1, String value2) {
            addCriterion("br_date not between", value1, value2, "brDate");
            return (Criteria) this;
        }

        public Criteria andDisplayIsNull() {
            addCriterion("display is null");
            return (Criteria) this;
        }

        public Criteria andDisplayIsNotNull() {
            addCriterion("display is not null");
            return (Criteria) this;
        }

        public Criteria andDisplayEqualTo(Byte value) {
            addCriterion("display =", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotEqualTo(Byte value) {
            addCriterion("display <>", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayGreaterThan(Byte value) {
            addCriterion("display >", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayGreaterThanOrEqualTo(Byte value) {
            addCriterion("display >=", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayLessThan(Byte value) {
            addCriterion("display <", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayLessThanOrEqualTo(Byte value) {
            addCriterion("display <=", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayIn(List<Byte> values) {
            addCriterion("display in", values, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotIn(List<Byte> values) {
            addCriterion("display not in", values, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayBetween(Byte value1, Byte value2) {
            addCriterion("display between", value1, value2, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotBetween(Byte value1, Byte value2) {
            addCriterion("display not between", value1, value2, "display");
            return (Criteria) this;
        }

        public Criteria andDataStatusIsNull() {
            addCriterion("data_status is null");
            return (Criteria) this;
        }

        public Criteria andDataStatusIsNotNull() {
            addCriterion("data_status is not null");
            return (Criteria) this;
        }

        public Criteria andDataStatusEqualTo(Byte value) {
            addCriterion("data_status =", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotEqualTo(Byte value) {
            addCriterion("data_status <>", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusGreaterThan(Byte value) {
            addCriterion("data_status >", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("data_status >=", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusLessThan(Byte value) {
            addCriterion("data_status <", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusLessThanOrEqualTo(Byte value) {
            addCriterion("data_status <=", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusIn(List<Byte> values) {
            addCriterion("data_status in", values, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotIn(List<Byte> values) {
            addCriterion("data_status not in", values, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusBetween(Byte value1, Byte value2) {
            addCriterion("data_status between", value1, value2, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("data_status not between", value1, value2, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andComPicIsNull() {
            addCriterion("com_pic is null");
            return (Criteria) this;
        }

        public Criteria andComPicIsNotNull() {
            addCriterion("com_pic is not null");
            return (Criteria) this;
        }

        public Criteria andComPicEqualTo(String value) {
            addCriterion("com_pic =", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicNotEqualTo(String value) {
            addCriterion("com_pic <>", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicGreaterThan(String value) {
            addCriterion("com_pic >", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicGreaterThanOrEqualTo(String value) {
            addCriterion("com_pic >=", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicLessThan(String value) {
            addCriterion("com_pic <", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicLessThanOrEqualTo(String value) {
            addCriterion("com_pic <=", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicLike(String value) {
            addCriterion("com_pic like", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicNotLike(String value) {
            addCriterion("com_pic not like", value, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicIn(List<String> values) {
            addCriterion("com_pic in", values, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicNotIn(List<String> values) {
            addCriterion("com_pic not in", values, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicBetween(String value1, String value2) {
            addCriterion("com_pic between", value1, value2, "comPic");
            return (Criteria) this;
        }

        public Criteria andComPicNotBetween(String value1, String value2) {
            addCriterion("com_pic not between", value1, value2, "comPic");
            return (Criteria) this;
        }

        public Criteria andComNameIsNull() {
            addCriterion("com_name is null");
            return (Criteria) this;
        }

        public Criteria andComNameIsNotNull() {
            addCriterion("com_name is not null");
            return (Criteria) this;
        }

        public Criteria andComNameEqualTo(String value) {
            addCriterion("com_name =", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameNotEqualTo(String value) {
            addCriterion("com_name <>", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameGreaterThan(String value) {
            addCriterion("com_name >", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameGreaterThanOrEqualTo(String value) {
            addCriterion("com_name >=", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameLessThan(String value) {
            addCriterion("com_name <", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameLessThanOrEqualTo(String value) {
            addCriterion("com_name <=", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameLike(String value) {
            addCriterion("com_name like", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameNotLike(String value) {
            addCriterion("com_name not like", value, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameIn(List<String> values) {
            addCriterion("com_name in", values, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameNotIn(List<String> values) {
            addCriterion("com_name not in", values, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameBetween(String value1, String value2) {
            addCriterion("com_name between", value1, value2, "comName");
            return (Criteria) this;
        }

        public Criteria andComNameNotBetween(String value1, String value2) {
            addCriterion("com_name not between", value1, value2, "comName");
            return (Criteria) this;
        }

        public Criteria andComOriPriIsNull() {
            addCriterion("com_ori_pri is null");
            return (Criteria) this;
        }

        public Criteria andComOriPriIsNotNull() {
            addCriterion("com_ori_pri is not null");
            return (Criteria) this;
        }

        public Criteria andComOriPriEqualTo(BigDecimal value) {
            addCriterion("com_ori_pri =", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriNotEqualTo(BigDecimal value) {
            addCriterion("com_ori_pri <>", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriGreaterThan(BigDecimal value) {
            addCriterion("com_ori_pri >", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("com_ori_pri >=", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriLessThan(BigDecimal value) {
            addCriterion("com_ori_pri <", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("com_ori_pri <=", value, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriIn(List<BigDecimal> values) {
            addCriterion("com_ori_pri in", values, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriNotIn(List<BigDecimal> values) {
            addCriterion("com_ori_pri not in", values, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_ori_pri between", value1, value2, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComOriPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_ori_pri not between", value1, value2, "comOriPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriIsNull() {
            addCriterion("com_dis_pri is null");
            return (Criteria) this;
        }

        public Criteria andComDisPriIsNotNull() {
            addCriterion("com_dis_pri is not null");
            return (Criteria) this;
        }

        public Criteria andComDisPriEqualTo(BigDecimal value) {
            addCriterion("com_dis_pri =", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriNotEqualTo(BigDecimal value) {
            addCriterion("com_dis_pri <>", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriGreaterThan(BigDecimal value) {
            addCriterion("com_dis_pri >", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("com_dis_pri >=", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriLessThan(BigDecimal value) {
            addCriterion("com_dis_pri <", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("com_dis_pri <=", value, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriIn(List<BigDecimal> values) {
            addCriterion("com_dis_pri in", values, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriNotIn(List<BigDecimal> values) {
            addCriterion("com_dis_pri not in", values, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_dis_pri between", value1, value2, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComDisPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_dis_pri not between", value1, value2, "comDisPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriIsNull() {
            addCriterion("com_cou_pri is null");
            return (Criteria) this;
        }

        public Criteria andComCouPriIsNotNull() {
            addCriterion("com_cou_pri is not null");
            return (Criteria) this;
        }

        public Criteria andComCouPriEqualTo(BigDecimal value) {
            addCriterion("com_cou_pri =", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriNotEqualTo(BigDecimal value) {
            addCriterion("com_cou_pri <>", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriGreaterThan(BigDecimal value) {
            addCriterion("com_cou_pri >", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("com_cou_pri >=", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriLessThan(BigDecimal value) {
            addCriterion("com_cou_pri <", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("com_cou_pri <=", value, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriIn(List<BigDecimal> values) {
            addCriterion("com_cou_pri in", values, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriNotIn(List<BigDecimal> values) {
            addCriterion("com_cou_pri not in", values, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_cou_pri between", value1, value2, "comCouPri");
            return (Criteria) this;
        }

        public Criteria andComCouPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("com_cou_pri not between", value1, value2, "comCouPri");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}